<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<title><s:property value="#session.titleDesc"/></title>
<%@ include file="/common/meta.jsp"%>
</head>
<body>
<%@ include file="/common/center-top.jsp"%>	
<!-- 网页主显示区，填写表单 -->
<s:form action="/rule/rule!addCategory.action" name="mainForm" id="mainForm">
	<input type="hidden" name="category.websiteId" value="${category.websiteId}"/>
	<table class="tableFrom" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tdLabel">类目名称</td>
			<td class="tdInput"><s:textarea name="category.name"></s:textarea></td>
		</tr>
		<tr>
			<td class="tdLabel">类目网址</td>
			<td class="tdInput"><s:textarea name="category.url"></s:textarea></td>
		</tr>
		<tr>
			<td class="tdLabel">类目编码</td>
			<td class="tdInput"><s:textarea name="category.code"></s:textarea></td>
		</tr>
		<tr>
			<td class="tdLabel">类目描述</td>
			<td class="tdInput"><s:textarea name="category.description"></s:textarea></td>
		</tr>
		<tr>
			<td class="tdLabel">语言</td>
			<td class="tdInput"><s:select list="langs" listKey="id" listValue="name" name="category.langId"></s:select></td>
		</tr>
		<tr>
			<td class="tdLabel">规则</td>
			<td class="tdInput"><s:select list="ruleList" listKey="id" listValue="ruleDesc" name="category.ruleId"></s:select></td>
		</tr>
	</table>
</s:form>
<img src="${ctp}/images/tj.gif" onclick="mainForm.submit();" style="cursor: pointer;"/>
<%@ include file="/common/center-down.jsp"%>				
</body>
</html>
